package com.geekaca.ssm.exception;

//自定义异常处理器，用于封装异常信息，对异常进行分类
public class SystemException extends RuntimeException {
    // 导常的编码
    public Integer code;

    public SystemException(Integer code, String message, Throwable cause) {
        super(message, cause);
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public void setcode(Integer code) {
        this.code = code;
    }


}


